package com.example.graduation.mapper;

import com.example.graduation.entity.ShoppingCart;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.graduation.vo.Yigon;
import org.apache.ibatis.annotations.Mapper;

import java.io.PrintStream;
import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author xyc
 * @since 2022-02-11
 */
@Mapper
public interface ShoppingCartMapper extends BaseMapper<ShoppingCart> {

    /**
     * 把商品订单插入数据库表中
     *
     * @param shoppingCart
     * @return {@link Integer}
     * @author xieyucan
     * CreateDate 2022/3/3 18:04
     */
    Integer insertShopCart(ShoppingCart shoppingCart);


    List<Yigon> findRecord();

}
